Automatic Generation and Evaluation of Chinese Classical Poetry with Attention-Based Deep Neural Network
نویسندگان
چکیده
The computer generation of poetry has been studied for more than a decade. Generating on human level is still great challenge the computer-generation process. We present novel Transformer-XL based classical Chinese model that employs multi-head self-attention mechanism to capture deeper multiple relationships among characters. Furthermore, we utilized segment-level recurrence learn longer-term dependency and overcome context fragmentation problem. To automatically assess quality generated poems, also built automatic evaluation contains BERT-based module checking fluency sentences tone-checker evaluate tone pattern poems. poems using our obtained an average score 9.7 10.0 pattern. Moreover, visualized attention mechanism, it showed learned tone-pattern rules. All experiment results demonstrate can generate high-quality
منابع مشابه
Chinese Poetry Generation with Planning based Neural Network
Chinese poetry generation is a very challenging task in natural language processing. In this paper, we propose a novel two-stage poetry generating method which first plans the sub-topics of the poem according to the user’s writing intent, and then generates each line of the poem sequentially, using a modified recurrent neural network encoder-decoder framework. The proposed planningbased method ...
متن کاملAnomaly-based Web Attack Detection: The Application of Deep Neural Network Seq2Seq With Attention Mechanism
Today, the use of the Internet and Internet sites has been an integrated part of the people’s lives, and most activities and important data are in the Internet websites. Thus, attempts to intrude into these websites have grown exponentially. Intrusion detection systems (IDS) of web attacks are an approach to protect users. But, these systems are suffering from such drawbacks as low accuracy in ...
متن کاملChinese Poetry Generation with Recurrent Neural Networks
We propose a model for Chinese poem generation based on recurrent neural networks which we argue is ideally suited to capturing poetic content and form. Our generator jointly performs content selection (“what to say”) and surface realization (“how to say”) by learning representations of individual characters, and their combinations into one or more lines as well as how these mutually reinforce ...
متن کاملChinese Song Iambics Generation with Neural Attention-Based Model
Learning and generating Chinese poems is a charming yet challenging task. Traditional approaches involve various language modeling and machine translation techniques, however, they perform not as well when generating poems with complex pattern constraints, for example Song iambics, a famous type of poems that involve variable-length sentences and strict rhythmic patterns. This paper applies the...
متن کاملFlexible and Creative Chinese Poetry Generation Using Neural Memory
It has been shown that Chinese poems can be successfully generated by sequence-to-sequence neural models, particularly with the attention mechanism. A potential problem of this approach, however, is that neural models can only learn abstract rules, while poem generation is a highly creative process that involves not only rules but also innovations for which pure statistical models are not appro...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Applied sciences
سال: 2022
ISSN: ['2076-3417']
DOI: https://doi.org/10.3390/app12136497